package com.linewow.xhyy.nihaonew.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentManager;
import android.util.Log;

import com.linewow.xhyy.nihaonew.R;
import com.linewow.xhyy.nihaonew.base.BaseCompatActivity;
import com.linewow.xhyy.nihaonew.fragment.nav.StartFragment;
import com.linewow.xhyy.nihaonew.util.StatusBarUtil;

/**
 * Created by LXR on 2016/11/9.
 */
public class StartActivity extends BaseCompatActivity {
    private FragmentManager fm;
    private StartFragment startFragment;
    private String TAG="StartActivity";

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_start);
        fm=getSupportFragmentManager();
        startFragment=new StartFragment();
        fm.beginTransaction().add(R.id.start_main,startFragment).commit();
        int result=StatusBarUtil.StatusBarLightMode(StartActivity.this);
        Log.e(TAG,"系统的值1 mi 2 mei 3 6--->"+result);
    }
}
